private static Isop.Server.Models.Controller Controller(Build that, Isop.Domain.Controller type) { return new Isop.Server.Models.Controller(type.Name, type.GetControllerActionMethods().Select(m => Method(that, type, m)).ToArray()); }
private static Controller Controller(Build that, Isop.Domain.Controller type) { return new Controller { Name = type.Name, Methods = type.GetControllerActionMethods().Select(m => Method(that, type, m)).ToArray() }; }