What do you want to save?
Add Code snippet
New code examples
-
Other 2021-09-13 02:51:03
get family type revit api
public Result Execute( ExternalCommandData commandData, ref string message, ElementSet elements ) { UIApplication uiapp = commandData.Application; Document doc = uiapp.ActiveUIDocument.Document; Stopwatch ... Add solution -
Other 2021-09-08 22:45:02
inject controller in web api
using Microsoft.Practices.Unity; using System; using System.Collections.Generic; using System.Web.Http.Dependencies; public class UnityResolver : IDependencyResolver { protected IUnityContainer container; public UnityResolver(IUnityContainer con... Add solution -
C# 2021-09-06 04:37:02
dapper delete where in list
The syntax for List<> support in dapper is slightly different than in an actual T-SQL query. See: https://github.com/StackExchange/Dapper DELETE FROM [Employee] WHERE EmployeeId in @empIds It does not require braces around the IN clause's paramete... Add solution -
Javascript 2021-08-31 12:46:02
Call the web api from $.ajax() function.
1- Calling the web api method without parameter • If you do not have parameter in your web API method then you no need to pass the data parameter inside AJAX function. • The URL parameter of ajax function must match with the Route attribute of ... Add solution